
html {
  background: transparent;
}

body {
  color: color(widget-text); 
  width:*;
  max-width:800px;
  margin:0.5em fx(0.001,1em); /* a.k.a. margin-width:0.001*, min-margin-width:1em */
  overflow-x: hidden;
  behavior: selectable;
}

pre {
  border:1px dashed #ccc;
  padding:0.5em;
  background: #fafaff; 
}
pre:theme(dark) { background: #242526; }

code {
  behavior: selectable;
  display: inline-block;
  padding: 3dip;
  border-radius: 2dip;
  background: #fafaff;
  outline: none;
}
code:theme(dark) { background: #242526; }

a.header-anchor {
  display:none;
  position:absolute;
  left:-1.2em;
  width:1.2em;
  height:1.2em;
  background: no-repeat 50% 50%;
  background-image: url(path:M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z);
  background-size:12px 12px;
  fill: #888; 
  text-decoration:none;
}

a[href]:theme(dark) {
  color: #87CEFA;
}

[id] {
  position:relative;
}

[id]:hover > a.header-anchor {
  display:block;
}

img {
  max-width: 100%;
}

li {
  margin-top: 6dip;
}

li h1,li h2, li h3, li h4, li h5, li h6 {
  margin-bottom: 0;
  margin-top: .5em;
  font-weight: normal;
}

table {
  display: block;
  width: 100%;
  overflow: auto;
  border-spacing: 0;
  border-collapse: collapse;
}

table th {
  font-weight: 600;
}

table td,
table th {
  padding: 6dip 13dip;
  border: 1px solid #dfe2e5;
}
table td:theme(dark),
table th:theme(dark) {
  border-color: #4f5154;
}

table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}
table tr:theme(dark) {
  background-color: #191919;
}

table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
table tr:nth-child(2n):theme(dark) {
  background-color: #313232;
}

details {
  margin-bottom: .5em;
}

*::mark(found) {
  background: orange;
}
*::mark(focus) {
  background: red;
}
